home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 25
/
Cream of the Crop 25.iso
/
doom
/
drtyhary.zip
/
DRTYHARY.BAT
< prev
next >
Wrap
DOS Batch File
|
1997-02-11
|
2KB
|
85 lines
@echo off
cls
echo.
echo. Installation of the fabulous
echo. DIRTY
echo. HARRY
echo. WAD
echo.
echo. ======>by Johnny Mnemonic
echo.
echo. This will take a sec, so jack in and chill out.
echo.
rem Check main WAD
if not exist doom.wad goto nowad
rem Check EXE Patch
if not exist doom.exe goto noexe
if not exist drtyhary.deh goto nodeh
rem Install EXE Patch
if exist doom.old goto skip
copy doom.exe doom.old
:skip
copy doom.old doomhack.exe
dehacked -load drtyhary.deh > hacked.log
if not ERRORLEVEL 0 goto fail
del doom.exe
ren doomhack.exe doom.exe
rem Install Sprites in WAD
if not exist drtyhary.wad goto nopwad
echo Completing sprites, please wait...
deusf -as drtyhary.wad > deusf.log
if not ERRORLEVEL 0 goto fail
echo Installation succeeded.
echo.
echo Get ready to play DIRTY HARRY!
echo part one of the Ultimate Fighting Championships!
pause
doom -file drtyhary.wad
echo Was it fun??
echo.
echo This file is configured to restore your doom.exe and doom.wad files
echo to their original configurations. If you do not want this to happen
echo yet, press CTRL+BREAK.
echo PLEASE NOTE!!<+++++++++++++++++++++++++++++++++++++++++++++++++++++
echo DRTYHARY.DEH can only be used with DRTYHARY.WAD (it needs the MAC10
echo sprite to run). PRESS ANY KEY OR CTRL+BREAK NOW
pause
Old_doom.bat
:fail
echo Installation failed: A tool didn't work.
echo Make sure that DEUSF.EXE and DEHACKED.EXE
echo are both in your DooM directory.
echo See hacked.log or deusf.log for details.
goto end
:nowad
echo Unable to locate DOOM.WAD
echo installation halted
goto end
:noexe
echo Unable to locate DOOM.EXE
echo installation halted
goto end
:nodeh
echo Unable to locate DRTYHARY.DEH
echo installation halted
goto end
:nopwad
echo Unable to locate DRTYHARY.WAD
echo installation halted
goto end
:end